package com.dnui.seven2.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dnui.seven2.entity.Buyshow;
import com.dnui.seven2.entity.Merch;
import com.dnui.seven2.service.BuyshowService;
import com.dnui.seven2.mapper.BuyshowMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author fengy
* @description 针对表【buyshow】的数据库操作Service实现
* @createDate 2022-10-19 16:02:19
*/
@Service
public class BuyshowServiceImpl extends ServiceImpl<BuyshowMapper, Buyshow>
    implements BuyshowService{

    @Autowired
    private BuyshowMapper buyshowMapper;

    @Override
    public List<Buyshow> selectAll() {
        //构造条件构造器
        LambdaQueryWrapper<Buyshow> queryWrapper=new LambdaQueryWrapper();
        List<Buyshow> buyshows = buyshowMapper.selectList(null);
        return buyshows;
    }
}




